package com.jiantong.user.service;

import com.jiantong.user.model.BreedFactory;
import io.terminus.common.model.Response;

/**
 * 养殖档案-养殖地图
 * Created by mz03 on 2017/3/17.
 * zyp
 */
public interface BreedFactoryWriteService {

    /**
     * 养殖档案-养殖地图
     * @param breedFactory 单据对象
     * @return 主键id
     */
    Response<Long> create(BreedFactory breedFactory);

    /**
     *养殖档案-养殖地图
     * @param breedFactory 单据对象
     * @return true or false
     */
    Response<Boolean> update(BreedFactory breedFactory);
}
